package com.woniu.coupon;

import com.ruoyi.common.core.redis.RedisCache;
import com.ruoyi.common.exception.GlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@MapperScan(basePackages = "com.woniu.coupon.mapper")
@EnableFeignClients
@Import(value = {GlobalExceptionHandler.class,RedisCache.class})
public class CouponApp {
    public static void main(String[] args) {
        SpringApplication.run(CouponApp.class, args);
    }
}
